import { post } from "@/common/request.js";

export default {
    login(params) {
        return post("/api/login", params)
    },
    register(params) {
        return post("/api/register/", params)
    }
}